package design_principles.abstract_factory_pattern.code;

public class FemaleFactory implements HumanFactory { // 生产出黑人女性
    public Human createBlackHuman() {
        // return new FemaleBlackHuman();
        return null;
    }

    // 生产出白人女性
    public Human createWhiteHuman() {
        // return new FemaleWhiteHuman();
        return null;
    }

    // 生产出黄人女性
    public Human createYellowHuman() {
        return new FemaleYellowHuman();
    }
}
